/* Reset and Base Styles */
:root {
  --bg: #f0f4ec;
  --bg-2: #e6ecdf;
  --ink: #0f1f17;
  --ink-soft: #3a4a3f;
  --moss:  #97296a;
  --lime: #84cc16;
  --line: rgba(15, 31, 23, 0.12);
  --shadow: 0 20px 50px -20px rgba(15, 31, 23, 0.35);
  --radius: 18px;
  --maxw: 1200px;
}
html{
      background: color-mix(in oklab, var(--bg) 85%, transparent);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
textarea {
  resize: none;   /* Disables resizing */
  overflow: auto; /* Keeps scrollbars if content overflows */
}
.hidden{
    visibility: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
background: color-mix(in oklab, var(--bg) 85%, transparent);;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 80px;
    height: 80px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #97296a;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link,.nav-links {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active , .nav-links:hover, .nav-links.active {
    color: #97296a;
}

.nav-link::after , .nav-links::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #97296a;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after 
, .nav-links:hover::after, .nav-links.active::after{
    width: 100%;
}
a {
    position: initial;
    text-decoration: none;
    color: inherit;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #972969cc, #912b6795);
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    font-family: "Fraunces", serif;
        font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: color-mix(in oklab, var(--bg) 85%, transparent);
}

.highlight {
    color: #94ca4f;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
        color: color-mix(in oklab, var(--bg) 85%, transparent);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.iframe{
    width: max-content;
    height: 200%;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #94ca4f;
    color: #1f2937;
}

.btn-primary:hover {
    background: #aded5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #97296a;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #94ca4f;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f9fafb;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mission-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.about-image {
    position: relative;
}

.floating-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #94ca4f, #97296a);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover .program-overlay {
    opacity: 1;
}

.learn-more-btn {
    background: white;
    color: #97296a;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover {
    transform: scale(1.05);
}

.program-content {
    padding: 2rem;
}

.program-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.program-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}
/* Impact Section */
.impact {
    background: var(--moss);
    color: white;
}

.impact .section-title {
    color: white;
}

.impact-content {
    align-items: start;
}

.map-container {
    background: #374151;
    border-radius: 20px;
    padding: 2rem;
    height: 400px;
    position: relative;
}

.world-map {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><path d="M150,200 Q200,150 300,180 T500,200 Q600,220 700,200 T900,180" stroke="%234b5563" stroke-width="2" fill="none"/></svg>') center/contain no-repeat;
    position: relative;
}

.map-point {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #94ca4f;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.map-point:hover {
    transform: scale(1.2);
}

.point-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    border: 2px solid #94ca4f;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.point-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-point:hover .point-info {
    opacity: 1;
}

.story-carousel {
    position: relative;
    width: 100%;
    min-height: 340px; /* match image height / adjust if needed */
    overflow: hidden;
}

.story {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
    transform: translateX(20px);
    z-index: 0;
}

.story.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateX(0);
    z-index: 1;
}

.story-image {
    width: 100%;
    height: 40vh;
    display: block;
}

.story-image img {
    width: 100%;
    height: 40vh;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.story-content {
    margin-top: 1rem;
    margin: 0 0 0 1.5rem ;
    display: block;
    color:  color-mix(in oklab, var(--bg) 85%, transparent);

}

/* Overlap crossfade for story transitions */
.story.transition-out {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateX(-12px) scale(0.995);
    visibility: visible; /* keep visible during overlap */
    z-index: 1;
}

.story.transition-in {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateX(0) scale(1);
    visibility: visible;
    z-index: 2;
}

/* Slight text motion to emphasize overlap */
.story .story-content {
    transition: opacity 0.45s ease, transform 0.45s ease;
    transform: translateY(6px);
    opacity: 0.95;
}

.story.active .story-content {
    transform: translateY(0);
    opacity: 1;
}

/* Prevent pointer events on outgoing during transition */
.story.transition-out * {
    pointer-events: none;
}

.story-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.story-nav {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.15s ease, background 0.15s ease;
}

.story-nav:hover,
.story-nav:focus {
    transform: translateY(-3px);
    outline: none;
}

.story-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: 1px solid rgba(0,0,0,0.06);
    cursor: pointer;
    display: inline-block;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.dot.active {
    background: #94ca4f;
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Accessibility focus state for dots */
.dot:focus {
    outline: 2px solid rgba(148,202,79,0.35);
    outline-offset: 3px;
}

/* Volunteer Section */
.volunteer {
    background: #f9fafb;
}

.volunteer-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.volunteer-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.volunteer-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.volunteer-card:hover {
    transform: translateY(-5px);
}

.volunteer-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.volunteer-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.volunteer-card p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.donation-tracker {
    display: none;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.donation-tracker h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #94ca4f, #97296a);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.email-link {
    color: #97296a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;

}
.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    padding: 0.75rem 1.5rem;
    background: #94ca4f;
    color: black;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #97296a;
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #97296a;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #6b7280;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.8rem;
    color: #97296a;
    background: white;
    padding: 0 0.5rem;
}

/* Footer */
.footer {
   background: color-mix(in oklab, var(--bg) 85%, transparent);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #94ca4f;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #97296a;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: #97296a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #97296a;
}
.site-footer .social-links .svg {
  width: 18px;
  height: 18px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  pointer-events: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem; text-align: center;
  color: var(--ink-soft); font-size: .88rem;
}

.site-footer .social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  transition: transform 0.2s ease, background 0.2s ease;
}

.site-footer .social-links a:hover {
  transform: translateY(-2px);
  background: var(--bg);
}

/* .footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
} */

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #97296a;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    height: 75%;
}
.model-iframe{
    width: 100%;
    height: 75%
}
.iframe{
    width: 100%;
    height: 100%
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.close:hover {
    color: #1f2937;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.selected {
    border-color: #97296a;
    background: #eff6ff;
    color: #97296a;
}

.donation-form,
.volunteer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.donation-form input,
.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
}

.partnership-types {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.partnership-type {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 10px;
}

.partnership-type h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.social-l{
    height: 40px;
    width: 40px;
}
.bannarnewl{
    height: 40vh;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    margin-top: 20px;
}

.programs-images{
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
:root {
    --def-transition-duration: .2s;

    --color-cloudy: #5F7C9C;
    --color-cloudy-shade: #56708c;

    --color-sunny: #3F7ABC;
    --color-sunny-shade: #396ea9;

    --color-rainy: #26323E;
    --color-rainy-shade: #222d38;

    --color-thunderstorms: #101C29;
    --color-thunderstorms-shade: #0e1925;
}

.accordion {
    width: 100%;
    margin: 0 4rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    color: white;
}

.accordion--item p {
    margin: 0;
}
.z{
    z-index: -1;
}

.cloudy {
    background: var(--color-cloudy) url(../WhatsAppImage2025-08-14at01.25.52.jpeg);
}

.cloudy .readings li {
    background-color: var(--color-cloudy-shade);
}

.sunny {
    background: var(--color-sunny) url(https://images.pexels.com/photos/6646918/pexels-photo-6646918.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop);
}

.sunny .readings li {
    background-color: var(--color-sunny-shade);
}

.rainy {
    background: var(--color-rainy) url(https://images.pexels.com/photos/6646918/pexels-photo-6646918.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop);
}

.rainy .readings li {
    background-color: var(--color-rainy-shade);
}

.thunderstorms {
    background: var(--color-thunderstorms) url(https://images.pexels.com/photos/6646918/pexels-photo-6646918.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop);
}

.thunderstorms .readings li {
    background-color: var(--color-thunderstorms-shade);
}

.accordion--item {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 200%;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 30rem;
    flex: 0 0 10rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.date li:nth-child(1) {
    font-size: 1.125rem;
    margin-bottom: .5rem;
}

.date li:nth-child(2) {
    font-size: 0.8125rem;
}

.temp {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    z-index: 1;
}

.temp p {
    font-size: 2.1875rem;
    font-weight: 200;
    margin-bottom: .5rem;
}

.temp--values {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.temp--values li:nth-child(2) {
    color: rgba(255, 255, 255, 0.48);
}

.temp .temp--values li:nth-child(1) {
    font-size: 2.1875rem;
}

.temp .temp--values li:nth-child(2) {
    font-size: 1.5625rem;
}

.readings {
    display: flex;
    gap: 1rem;
    width: 28rem;
    opacity: 0;
}

.readings li {
    border-radius: .75rem;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    width: 100%;
    text-align: center;
}

.readings li p:nth-of-type(1) {
    font-size: 0.8125rem;
    font-weight: 700;
}

.readings li p:nth-of-type(2) {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.48);
}

.bottom-temp {
    position: absolute;
    bottom: 2rem;
}

.opened {
    background-size: 32rem;
    flex-basis: 32rem;
    cursor: auto;
}

.opened .date li:nth-child(2) {
    color: rgba(255, 255, 255, 0.48);
}

.opened .temp,
.opened .readings {
    opacity: 1;
}

.opened .bottom-temp {
    opacity: 0;
}
.accordion--item,
.bottom-temp,
.temp,
.readings,
.date li:nth-child(2){
    transition-duration: var(--def-transition-duration);
    transition-timing-function: ease-in-out;
}
.accordion--item:hover:not(.opened){
    background-size: 32rem;
    padding-block: 3rem;
}

.accordion--item:hover:not(.opened) .bottom-temp{
    transform: translate3d(0, -1rem, 0);
}
.bottom-temp{
    transition-duration: var(--def-transition-duration);
    transition-property: transform;
}
.opened .bottom-temp{
    transform: translate3d(0, 2rem, 0 );
}
.temp, .readings{
    transition: opacity, transform;
}
.temp{
    transform: translate3d(0, -4rem, 0);
}
.readings{
    transform: translate3d(0, 4rem, 0);
}
.opened .temp, 
.opened .readings{
    transform: translate3d(0, 0, 0);
}
.date li:nth-child(2){
    transition-property: color;
}

.box {
    position: relative;
    z-index: 0;
    width: 300px;
    height: 200px;
    overflow: hidden;
}

.box .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

/* Optional: zoom effect on hover */
.box:hover .img {
    transform: scale(1.05);
}

.box button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    cursor: pointer;
    opacity: 0;                /* hidden by default */
    transition: opacity 0.3s ease-in-out;
}

.box:hover{
    opacity: 1;                /* show on hover */
}
.img{
    border-radius: 0px;
}
/* Air */
/* In the video I'm using the following icons and imagery: */
/* - https://elements.envato.com/photo-realistic-weather-icon-set-K7MGJ3 */
/* - https://elements.envato.com/weather-icon-pack-3UHW3R3 */

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-content,
    .impact-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteer-options {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .story-carousel {
        min-height: 260px;
    }

    .story-nav {
        padding: 6px 10px;
        font-size: 1.1rem;
    }

    .story-content {
        margin-top: 0.8rem;
    }
}